<!DOCTYPE html>
<html>
	<head>
		<meta charset="{CHARSET}">
		<title></title>
		<style type="text/css">
			.div{width:300px; height: 100px; border:solid 5px #f00;}
		</style>
	</head>
	<body>
		<script type="text/javascript" src="jquery-3.4.1.min.js"></script>
		<script type="text/javascript">
			$(function(){
				$("#btn1").click(function(){
					$(".div").animate({
						width:'150px',
						height:'+=50px',
						borderWidth:'+=10px'
					},3000);
				});
				$("#btn2").click(function(){
					$(".div").stop();
				});
			})
		</script>
		
		<button id="btn1">启动动画</button><button id="btn2">stop</button>
		<div id="div" class="div"></div>
	</body>
</html>
